home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 97 / CD-ROM 97 / CD-ROM 97.iso / jogos / spherical / Code / Game / paddle.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-07-13  |  941 b   |  26 lines

  1.  
  2. // Copyright (C) 2002 by Luigi Pino.  All Rights Reserved.
  3.  
  4. /***************************************************************************/
  5.  
  6. typedef struct {
  7.     bool                            game_over;                                                // Whether or not player lost
  8.     Controller_Class    input;                                                        // Input
  9.     Movement_Struct        movement;                                                    // Movement information
  10.     float                            score;                                                        // Current score
  11.     float                            time_lapse;                                                // Amount of time between goals
  12.     float                            time_lapse_score;                                    // Highest amount of time between goals
  13.     float3                        pts[5];                                                        // Points of paddle
  14. } Paddle_Struct;
  15.  
  16. /***************************************************************************/
  17.  
  18. void Initialize_Paddle_Object();
  19.  
  20. void Paddle_AI(int current_paddle);
  21.  
  22. void Paddle_Movement(int current_paddle);
  23.  
  24. void Paddle_User_Input(int current_paddle);
  25.  
  26. /***************************************************************************/